<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="org.apache.shiro.SecurityUtils" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@include file="/common/taglibs.jsp" %>
<%@include file="/common/common-header.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="${ctx }/resources/js/jquery-timer.js" type="text/javascript"></script>
<script type="text/javascript">
	$(function(){
		$("#tip").everyTime("1s","now",function(){
			var now = new Date().toLocaleString();
			$("#tip").empty().append("&nbsp;"+now);
		});
	});
</script>
</head>
<body>
<div class="head">
  <div class="imgCont"><img src="${ctx }/resources/images/lglogo.gif"/></div>
  <div class="loginbar">
  <p><span>欢迎你：<strong style="color:#004aba;"><%= SecurityUtils.getSubject().getPrincipal().toString() %></strong>&nbsp;&nbsp;现在时间：<span id="tip"> </span></span>&nbsp;&nbsp;<a href="${ctx}/admin/logout" target="_parent" class="a_exit"><strong style="color:#004aba;">安全退出</strong></a></p></div>
  
</div>
<!--head end-->
</body>
</html>
